package com.example.booksshop.service;

import com.example.booksshop.entity.Book;
import com.example.booksshop.entity.BookCategory;

import java.util.List;

/**
 * @author xuan 2021/9/15
 */
public interface BookService {
   void bookInsert(String bookname, String author, Integer cid);

   List<BookCategory> showBooks();

   BookCategory selectBook(String bookname);

   void deleteBook(String bookname);

   List<BookCategory> categoryBook(String category);

   void updateBook(Book book);
}
